package org.example.servlet;

import org.example.http.NRequest;
import org.example.http.NResponse;
import org.example.http.NServlet;

import java.io.IOException;

public class FirstServlet extends NServlet {
    @Override
    protected void doGet(NRequest request, NResponse response) throws IOException {
        doPost(request, response);
    }

    @Override
    protected void doPost(NRequest request, NResponse response) throws IOException {
        response.write("test first servlet success");
    }
}
